import request from '@/utils/request'
const serviceName = 'System'

export function getScenes(data) {
  return request({
    url: serviceName + '/Scene/GetList',
    method: 'post',
    data
  })
}

export function saveScene(data) {
  return request({
    url: serviceName + '/Scene/SaveScene',
    method: 'post',
    data
  })
}

export function copyScene(data) {
  return request({
    url: serviceName + '/Scene/CopyScene',
    method: 'post',
    data
  })
}

export function removeScene(data) {
  return request({
    url: serviceName + '/Scene/RemoveScene',
    method: 'post',
    data
  })
}

export function sortScene(data) {
  return request({
    url: serviceName + '/Scene/SortScene',
    method: 'post',
    data
  })
}

export default {
  getScenes,
  saveScene,
  copyScene,
  removeScene,
  sortScene
}
